package com.platform.dao;

import java.util.List;

import com.platform.entity.FarmChapterEntity;
import com.platform.entity.FarmTypeEntity;
import com.platform.entity.FarmUnitEntity;

/**
 * 单元表三级Dao
 *
 * @author xuyang
 * @email 295640759@qq.com
 * @date 2020-02-10 22:02:35
 */
public interface FarmUnitMapper extends BaseDao<FarmUnitEntity> {
	FarmUnitEntity selectByPrimaryKey(Integer id);
    
    int insertSelective(FarmUnitEntity farmType);
    
    int updateByPrimaryKeySelective(FarmUnitEntity farmType);
    
    int deleteByPrimaryKey(Integer id);
    
    List<FarmUnitEntity> findByParentId(Integer id);
    
}
